package com.vict.framework.pay.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vict.framework.pay.entity.PayOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    List<PayOrder> selectMyList(@Param("payDtoId")String payDtoId,
                                @Param("moneyBegin")BigDecimal moneyBegin,
                                @Param("moneyEnd")BigDecimal moneyEnd,
                                @Param("payStatus")PayOrder.PayStatus payStatus,
                                @Param("payType")PayOrder.PayType payType,
                                @Param("startTimeBegin")Timestamp startTimeBegin,
                                @Param("startTimeEnd")Timestamp startTimeEnd,
                                @Param("successTimeBegin")Timestamp successTimeBegin,
                                @Param("successTimeEnd")Timestamp successTimeEnd,
                                @Param("cancelTimeBegin")Timestamp cancelTimeBegin,
                                @Param("cancelTimeEnd")Timestamp cancelTimeEnd,
                                @Param("isBack")Integer isBack
    );
}
